<template>
  <div class="error-page">
    <div class="img" style="background-image: url('/img/bg/500.svg')"></div>
    <div class="content">
      <h1>500</h1>
      <div class="desc">抱歉，服务器出错了</div>
      <div class="actions">
        <!-- <router-link :to="{ path: '/wages/wages' }"> -->
        <el-button @click="router" type="primary">返回工资表</el-button>
        <!-- </router-link> -->
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "error-500",
  methods: {
    router() {
      this.$router.push({ path: "/wages/wages" });
    },
  },
};
</script>
<style lang="scss" scoped>
@import "./style.scss";
</style>
